package com.example.questionnaire.mbg.entity;

import com.example.questionnaire.mbg.entity.Enum.OptionTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Option implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;

    private String content;

    private OptionTypeEnum optionType;
    private Integer optionNumber;
    private Boolean isRight;
    private String answerText;
    private Integer capacity;
    // 外键
    private Integer questionId;
}